package com.xingkeduo;

import com.xingkeduo.util.pojo.enums.DatabaseEnum;
import com.xingkeduo.util.tool.ConstantUtil;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

/**
 * @author 高杰
 * @time 2018年12月17日 上午11:47:05
 * @description
 */
@EnableDiscoveryClient
@SpringBootApplication
@EnableFeignClients
public class UserApplication {

    public static void main(String[] args) {
        System.setProperty(ConstantUtil.DATABASE, DatabaseEnum.MYSQL_USER_MASTER.toConditionString());
        SpringApplication.run(UserApplication.class, args);
    }
}

